package com.xianggu.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author chengjy
 * @date 2025/3/5
 */

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface FeignClient {
        String serviceName();
        String beanName() default "";
        Class<?> fallbackFactory() default void.class;
}
